package com.fqgj.sentry.controller.pc.request.rule;

import com.fqgj.sentry.controller.pc.request.rule.addAndUpdate.RuleAddUpdateVo;
import com.fqgj.sentry.policy.engine.domain.Rule;

import java.io.Serializable;

/**
 * Created by liupengpeng on 2017/8/4.
 */
public class RuleUpdateVo implements Serializable {
    /**
     * 规则名称
     */
    private String name;
    /**
     * 规则
     */
    private RuleAddUpdateVo rule;

    public String getName() {
        return name;
    }

    public RuleUpdateVo setName(String name) {
        this.name = name;
        return this;
    }

    public RuleAddUpdateVo getRule() {
        return rule;
    }

    public RuleUpdateVo setRule(RuleAddUpdateVo rule) {
        this.rule = rule;
        return this;
    }
}
